package com.blog.blogservice.domain.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

/**
 * 用户角色关联表(RoleUser)实体类
 *
 * @author guanglin.ma
 * @since 2024-03-10 22:54:11
 */
@TableName("role_user")
public class RoleUser {
    private static final long serialVersionUID = -62961270415500330L;

    public static final String FIELD_ROLE_USER_ID = "roleUserId";
    public static final String FIELD_ROLE_ID = "roleId";
    public static final String FIELD_USER_ID = "userId";

    @TableId(type = IdType.AUTO)
    private Integer roleUserId;

    private Integer roleId;

    private Integer userId;


    public Integer getRoleUserId() {
        return roleUserId;
    }

    public void setRoleUserId(Integer roleUserId) {
        this.roleUserId = roleUserId;
    }

    public Integer getRoleId() {
        return roleId;
    }

    public void setRoleId(Integer roleId) {
        this.roleId = roleId;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

}

